package com.yjd.comm.recharge.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：理财金汇总模型<br>
 * <b>time</b>：2014-11-27 10:34:53 <br>
 * <b>author</b>：  ready likun_557@163.com
 */
public class VolumeFinancialModel extends Model {

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;
	/**
	 * 理财金券id
	 */
	private Long volume_id;
	/**
	 * 会员id
	 */
	private Long user_id;
	/**
	 * 理财金总金额
	 */
	private Double price;
	/**
	 * 投资总额
	 */
	private Double invest_total;
	/**
	 * 投资开始金额标记
	 */
	private Double invest_start;
	/**
	 * 累计返现
	 */
	private Double invest_return;
	/**
	 * 开始日期
	 */
	private Long starttime;
	/**
	 * 结束日期
	 */
	private Long endtime;
	/**
	 * 最后更新时间
	 */
	private Long uptime;
	
	
	private Integer event_id;//活动ID
	
	
	
	//展示
	private String endTimeFormater;
	
	
	
	
	
	public String getEndTimeFormater() {
		return endTimeFormater;
	}
	public void setEndTimeFormater(String endTimeFormater) {
		this.endTimeFormater = endTimeFormater;
	}
	public VolumeFinancialModel() {
	}
	public VolumeFinancialModel(Long volume_id, Long user_id, Double price,
			Double invest_total, Double invest_start, Double invest_return,
			Long starttime, Long endtime, Long uptime, Integer event_id) {
		this.volume_id = volume_id;
		this.user_id = user_id;
		this.price = price;
		this.invest_total = invest_total;
		this.invest_start = invest_start;
		this.invest_return = invest_return;
		this.event_id = event_id;
		this.starttime = starttime;
		this.endtime = endtime;
		this.uptime = uptime;
	}
	
	
	
	
	
	public Integer getEvent_id() {
		return event_id;
	}
	public void setEvent_id(Integer event_id) {
		this.event_id = event_id;
	}
	public Long getVolume_id() {
		return volume_id;
	}
	public void setVolume_id(Long volume_id) {
		this.volume_id = volume_id;
	}
	public Long getUser_id() {
		return user_id;
	}
	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Double getInvest_total() {
		return invest_total;
	}
	public void setInvest_total(Double invest_total) {
		this.invest_total = invest_total;
	}
	public Double getInvest_start() {
		return invest_start;
	}
	public void setInvest_start(Double invest_start) {
		this.invest_start = invest_start;
	}
	public Double getInvest_return() {
		return invest_return;
	}
	public void setInvest_return(Double invest_return) {
		this.invest_return = invest_return;
	}
	public Long getStarttime() {
		return starttime;
	}
	public void setStarttime(Long starttime) {
		this.starttime = starttime;
	}
	public Long getEndtime() {
		return endtime;
	}
	public void setEndtime(Long endtime) {
		this.endtime = endtime;
	}
	public Long getUptime() {
		return uptime;
	}
	public void setUptime(Long uptime) {
		this.uptime = uptime;
	}
	
	public static void main(String[] args) {
		Double d = 10.0000000000000000;
		System.out.println(d%10==0);
	}

}
